﻿using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Framework.Reflection;
using Pixysoft.Weblications.Sango.Battle;

namespace Pixysoft.Weblications.Sango.Command.stage_rve
{
    partial class SangoStageRveHandler
    {
        public stagerve_roomclose stagerve_roomclose()
        {
            string userCode = SangoManager.Authentication();
            stagerve_roomclose response = ReflectionManager.CreatePojo<stagerve_roomclose>();
            response.Succeed = false;

            RveStageTeam team = RveStageController.Instance.TryCloseStageRoom(userCode);
            if (team == null)
            {
                response.Message = "队伍不存在";
                return response;
            }
                        
            response.Succeed = true;
            return response;
        }
    }
    public interface stagerve_roomclose : ISangoResponse
    {
    }
}
